package com.x86.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2022/3/26 18:01
 */
@ApiModel(value = "前测信息对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pre_data")
public class PreData implements Serializable {
    /**
     * 电脑id
     */
    @TableId(value = "cid", type = IdType.INPUT)
    @ApiModelProperty(value = "电脑id")
    private String cid;

    /**
     * rtc测试结果
     */
    @TableField(value = "rtc")
    @ApiModelProperty(value = "rtc测试结果")
    private String rtc;

    /**
     * cpu配置
     */
    @TableField(value = "cpu_conf")
    @ApiModelProperty(value = "cpu配置")
    private String cpuConf;

    /**
     * 内存配置
     */
    @TableField(value = "mem_conf")
    @ApiModelProperty(value = "内存配置")
    private String memConf;

    /**
     * 显卡配置
     */
    @TableField(value = "gpu_conf")
    @ApiModelProperty(value = "显卡配置")
    private String gpuConf;

    /**
     * 硬盘配置
     */
    @TableField(value = "disk_conf")
    @ApiModelProperty(value = "硬盘配置")
    private String diskConf;

    /**
     * 硬盘数量
     */
    @TableField(value = "disk_number")
    @ApiModelProperty(value = "硬盘数量")
    private Integer diskNumber;

    /**
     * 硬盘smart测试
     */
    @TableField(value = "disk_smart_check")
    @ApiModelProperty(value = "硬盘smart测试")
    private Boolean diskSmartCheck;

    /**
     * 硬盘坏道测试
     */
    @TableField(value = "disk_track_check")
    @ApiModelProperty(value = "硬盘坏道测试")
    private Boolean diskTrackCheck;

    /**
     * 音频接口测试
     */
    @TableField(value = "audio_check")
    @ApiModelProperty(value = "音频接口测试")
    private Boolean audioCheck;

    /**
     * USB测试
     */
    @TableField(value = "usb_check")
    @ApiModelProperty(value = "USB测试")
    private Boolean usbCheck;

    /**
     * 串口测试
     */
    @TableField(value = "serial_check")
    @ApiModelProperty(value = "串口测试")
    private Boolean serialCheck;

    /**
     * 网口数据测试
     */
    @TableField(value = "net_check")
    @ApiModelProperty(value = "网口数据测试")
    private Boolean netCheck;

    /**
     * MAC地址测试
     */
    @TableField(value = "mac_check")
    @ApiModelProperty(value = "MAC地址测试")
    private Boolean macCheck;

    /**
     * 硬盘压力测试
     */
    @TableField(value = "disk_stress_check")
    @ApiModelProperty(value = "硬盘压力测试")
    private Boolean diskStressCheck;

    /**
     * cpu风扇转速测试
     */
    @TableField(value = "cpu_fan_speed")
    @ApiModelProperty(value = "cpu风扇转速测试")
    private String cpuFanSpeed;

    /**
     * cpu数量
     */
    @TableField(value = "cpu_number")
    @ApiModelProperty(value = "cpu数量")
    private Integer cpuNumber;

    /**
     * 内存压力测试
     */
    @TableField(value = "mem_stress_check")
    @ApiModelProperty(value = "内存压力测试")
    private Boolean memStressCheck;

    private static final long serialVersionUID = 1L;

    public static final String COL_CID = "cid";

    public static final String COL_RTC = "rtc";

    public static final String COL_CPU_CONF = "cpu_conf";

    public static final String COL_MEM_CONF = "mem_conf";

    public static final String COL_GPU_CONF = "gpu_conf";

    public static final String COL_DISK_CONF = "disk_conf";

    public static final String COL_DISK_NUMBER = "disk_number";

    public static final String COL_DISK_SMART_CHECK = "disk_smart_check";

    public static final String COL_DISK_TRACK_CHECK = "disk_track_check";

    public static final String COL_AUDIO_CHECK = "audio_check";

    public static final String COL_USB_CHECK = "usb_check";

    public static final String COL_SERIAL_CHECK = "serial_check";

    public static final String COL_NET_CHECK = "net_check";

    public static final String COL_MAC_CHECK = "mac_check";

    public static final String COL_DISK_STRESS_CHECK = "disk_stress_check";

    public static final String COL_CPU_FAN_SPEED = "cpu_fan_speed";

    public static final String COL_CPU_NUMBER = "cpu_number";

    public static final String COL_MEM_STRESS_CHECK = "mem_stress_check";
}